package problem2;

import java.util.Date;

public class SmartTV extends TV{
    private int memorySize;

    public SmartTV(String brand, Date productDate, int memorySize) {
        super(brand, productDate);
        this.memorySize = memorySize;
    }

    @Override
    public String toString() {
        return "TV: " + "brand = " + super.getBrand() +
                " productDate = " + super.getProductDateString()+
                " channel = " + super.getChannel() +
                " volumnLevel = " + super.getVolumnLevel() +
                " memorySize = " + memorySize;

    }
}
